# Maintainer:
pkgname=himitsu-firefox
_commit=eddfd399f906180912800c842c8200b974e695a5
pkgver=0.4_git20231122
pkgrel=2
pkgdesc="Firefox integration for Himitsu"
url="https://himitsustore.org"
arch="x86_64 aarch64" # Hare
license="GPL-3.0-only"
makedepends="hare hare-json himitsu-dev zip"
source="
	$pkgname-$pkgver.tar.gz::https://git.sr.ht/~sircmpwn/himitsu-firefox/archive/$_commit.tar.gz
"
install="$pkgname.post-install"
options="!check"
builddir="$srcdir/$pkgname-$_commit"

build() {
	make -j1 PREFIX=/usr
}

package() {
	make DESTDIR="$pkgdir" PREFIX=/usr install-native
}

sha512sums="
5d01c0d018e42ed26389ee8a3f43dcff4f7f86796b7a3e52c3f24d97c0443354671b3951b648b4fde3298503434acef20330ddcdf8d52c07801bb8e86fef1892  himitsu-firefox-0.4_git20231122.tar.gz
"
